/* 全局样式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    min-height: 100vh;
    background: #ffffff;
    color: #333;
}

.page-container {
    max-width: 414px;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding-top: 15px;
}

/* 用户信息区域 */
.user-info {
    padding: 10px 15px 20px;
}

.user-header {
    display: flex;
    align-items: center;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    margin-right: 15px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.greeting {
    flex: 1;
    font-size: 14px;
    color: #666;
}

.actions {
    display: flex;
    gap: 20px;
    color: #333;
    font-size: 20px;
}

.actions i {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.actions i:hover, .actions i:active {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

/* 会员成长区域 */
.member-growth {
    background-color: #fff8f8;
    border-radius: 15px;
    padding: 15px;
    margin: 0 15px 15px;
}

.member-growth h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.progress-container {
    position: relative;
    padding: 0 10px;
}

.progress-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
}

.progress-track::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ffcad4;
    z-index: -1;
}

.progress-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.point {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffcad4;
    border: 2px solid #ffffff;
}

.progress-point.active .point {
    background-color: #ffb6c1;
}

.progress-point span {
    font-size: 12px;
    color: #666;
}

/* 会员卡片 */
.member-card {
    margin: 0 15px 20px;
    background-color: #ffb6c1;
    border-radius: 15px;
    padding: 15px;
    color: white;
    position: relative;
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
}

.card-subtitle {
    margin-left: 10px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 15px;
}

.card-menu {
    margin-left: auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.card-menu:hover, .card-menu:active {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.card-info {
    margin-top: auto;
    font-size: 12px;
    margin-bottom: 40px;
}

.card-number {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.card-number i {
    margin-left: 5px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.card-number i:hover, .card-number i:active {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* 功能菜单 */
.feature-menu {
    padding: 10px 15px;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feature-item:hover .feature-icon, .feature-item:active .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(255, 182, 193, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #ffb6c1;
    font-size: 20px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-item p {
    font-size: 12px;
    color: #666;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05);
    z-index: 10;
    max-width: 414px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px 0;
}

.nav-item:hover, .nav-item:active {
    color: #8b0000;
    transform: translateY(-2px);
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.nav-item.active {
    color: #8b0000;
}

.nav-item:nth-child(3) i {
    font-size: 36px;
    color: #ffb6c1;
    margin-bottom: 0;
}

.bottom-indicator {
    height: 70px;
} 